<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>打菲</title>
<style media="print">
	.menu{display:none;}
	@page {
      size: auto;  /* auto is the initial value */
      margin: 0mm; /* this affects the margin in the printer settings */
</style>
<style>
	.common{ font-size:20px; font-weight:bold; line-height:36px; text-align:center;}
	.qrcode{text-align:center;}
	.qrcode img{width:200px;height:200px;}
</style>
<body>
<div class="menu">
	<input type="button" value="打 印" onclick="window.print()"/><br><br>
</div>
<div class="pageContent">
	{foreach $ouList as $k => $v}
	<div style="width:377px;height:377px;{if condition="$k > 0"} style="page-break-before: always" {/if}">
		<table width="100%" border="1" style="border-collapse:collapse;" class="list">
			<tr><td class="common">订单号：{$v['client_ordernum']}</td></tr>
			<tr><td class="common">扎号：{$v['zhahao']}&nbsp;&nbsp;&nbsp;&nbsp;床号:{$v['jianshu']}</td></tr>
			<tr><td class="common">{$v['size_name']}：{$v['jianshu']}件</td></tr>
			<tr><td class="qrcode"><img src="{$v['qrcode']}"></td></tr>
		</table>
	</div>
	{/foreach}
</div>
</body>
</html>